{% extends "home.htm" %}
		{% block title %}
			GENERA RICETTA
		{% endblock %}		

		{% block content %}

<h2>Genera Menu</h2>
<h4>Scegli i criteri</h4>
		<form name="genera_ricetta" action="." method="Post">
			<table>	
				<tr>
					<td>
						Area Geografica
					</td>
					<td>
						<select name="cucina">
                            <option value="0">Tutte</option>
                            {% for i in cuisine %}
                                <option value="{{ i.id }}">{{ i.name }}</option>
                            {% endfor %}
						</select>			
				</tr>

                <tr>  
					<td> 
						Stagione
					</td>
					<td> 
						<select name="stagione">
                            <option value="0">Tutte</option>
							{% for i in season %}
                                <option value="{{ i.id }}">{{ i.name }}</option>
                            {% endfor %}
						</select>
					</td>
				</tr>
				
				<tr>  
					<td colspan="2" align="center"> 
						<input id="button" type="submit" value="Genera Menu">
						<input id="button" type="reset" value="Azzera Campi">
					</td>
				</tr>				
			</table>
		</form>
		{% endblock %}
